package com.think.teaching.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.Asset;

/**
 * <p>
 * 资源 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface AssetService extends IService<Asset> {
	
	Asset InsertNewAsset(Asset asset);
	
	IPage<Asset> ListAssetWithCreator(Integer id,Integer page,Integer count,Boolean withoutBan);
	
	IPage<Asset> ListAssetWithCreatorAndType(Integer id,Integer type,Integer page,Integer count,Boolean withoutBan);
	
	Boolean DeleteAsset(Integer id);
	Asset SelectAsset(Integer id);
}
